public class test6 {
    public static void main(String[] args) {
        String str = new String("abcdefghijklmn");
        int index1 = str.indexOf("cde");
        int index2 = str.indexOf("zxc");
        System.out.println(index1);
        System.out.println(index2);
    }
}
